package com.qcby.service.Impl;

import com.qcby.dao.CourseMapper;
import com.qcby.entity.Course;
import com.qcby.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("courseService")
public class CourseServiceImpl implements CourseService {
    @Autowired
    private CourseMapper courseMapper;
    @Override
    public List<Course> listAll(Course course) {
        return courseMapper.listAll(course);
    }
    @Override
    public List<Course> list(List<Integer> course) {
        return courseMapper.list(course);
    }
    @Override
    public List<Course> find(String course) {
        return courseMapper.find(course);
    }
}
